<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改软件安装')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-statisticsInstall-edit" th:object="${statisticsInstall}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">用户单位：</label>
				<div class="col-sm-8">
					<input id="unit" name="unit" th:field="*{unit}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">lightning升级套数：</label>
				<div class="col-sm-8">
					<input id="lightningUpdateSetcount" name="lightningUpdateSetcount" th:field="*{lightningUpdateSetcount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">lightning升级GPU数：</label>
				<div class="col-sm-8">
					<input id="lightningUpdateGpu" name="lightningUpdateGpu" th:field="*{lightningUpdateGpu}" class="form-control" type="text">
				</div>
			</div>

			<div class="form-group">	
				<label class="col-sm-3 control-label">lightning新增套数：</label>
				<div class="col-sm-8">
					<input id="lightningNewSetcount" name="lightningNewSetcount" th:field="*{lightningNewSetcount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">lightning新增CPU数：</label>
				<div class="col-sm-8">
					<input id="lightningNewCpu" name="lightningNewCpu" th:field="*{lightningNewCpu}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">lightning新增GPU数：</label>
				<div class="col-sm-8">
					<input id="lightningNewGpu" name="lightningNewGpu" th:field="*{lightningNewGpu}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">lightning新增GPU核数：</label>
				<div class="col-sm-8">
					<input id="lightningNewGpucore" name="lightningNewGpucore" th:field="*{lightningNewGpucore}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理系统更新套数：</label>
				<div class="col-sm-8">
					<input id="clUpdateSetcount" name="clUpdateSetcount" th:field="*{clUpdateSetcount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理系统更新CPU数：</label>
				<div class="col-sm-8">
					<input id="clUpdateCpu" name="clUpdateCpu" th:field="*{clUpdateCpu}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理系统更新GPU数：</label>
				<div class="col-sm-8">
					<input id="clUpdateGpu" name="clUpdateGpu" th:field="*{clUpdateGpu}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理系统更新GPU核数：</label>
				<div class="col-sm-8">
					<input id="clUpdateGpucore" name="clUpdateGpucore" th:field="*{clUpdateGpucore}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理系统新增套数：</label>
				<div class="col-sm-8">
					<input id="clNewSetcount" name="clNewSetcount" th:field="*{clNewSetcount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理系统新增CPU数：</label>
				<div class="col-sm-8">
					<input id="clNewCpu" name="clNewCpu" th:field="*{clNewCpu}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理系统新增GPU数：</label>
				<div class="col-sm-8">
					<input id="clNewGpu" name="clNewGpu" th:field="*{clNewGpu}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理系统新增GPU核数：</label>
				<div class="col-sm-8">
					<input id="clNewGpucore" name="clNewGpucore" th:field="*{clNewGpucore}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">解释系统升级许可数：</label>
				<div class="col-sm-8">
					<input id="jsUpdateCount" name="jsUpdateCount" th:field="*{jsUpdateCount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">解释系统新增许可数：</label>
				<div class="col-sm-8">
					<input id="jsNewCount" name="jsNewCount" th:field="*{jsNewCount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">特色功能包升级套数：</label>
				<div class="col-sm-8">
					<input id="tsUpdateCount" name="tsUpdateCount" th:field="*{tsUpdateCount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">特色功能包新增套数：</label>
				<div class="col-sm-8">
					<input id="tsNewCount" name="tsNewCount" th:field="*{tsNewCount}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "statistics/statisticsInstall";
		$("#form-statisticsInstall-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-statisticsInstall-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
